package leetcode.code0215;

import leetcode.IDebug;
import leetcode.helper.HelpDebug;

public abstract class Solution215 implements IDebug {

	public abstract int findKthLargest(int[] nums, int k);

	@Override
	public void debug1() {
		String str = "[3,2,1,5,6,4]";
		int[] nums = HelpDebug.str2array3(str);
		int k = 2;
		int e = 5;
		int r = this.findKthLargest(nums, k);
		HelpDebug.compare(e, r);
	}

	@Override
	public void debug2() {
		String str = "[3,2,3,1,2,4,5,5,6]";
		int[] nums = HelpDebug.str2array3(str);
		int k = 4;
		int e = 4;
		int r = this.findKthLargest(nums, k);
		HelpDebug.compare(e, r);
	}

	@Override
	public void debug3() {
		// TODO Auto-generated method stub

	}

	@Override
	public void debug4() {
		// TODO Auto-generated method stub

	}

}
